<?php

use Illuminate\Routing\Router;


Route::group([
	'prefix' => 'admin/statsign',
	'namespace' => 'Frieza\\Modules\\Statsign\\Controllers',
	'middleware' => [
		'web',
		'admin'
	],
], function (Router $router) {
	$router->get('/list', 'StatSignController@index')->name('statSign.index');
	
	$router->get('/list/create', 'StatSignController@edit')->name('statSign.create');
	
	$router->get('/list/{id}/edit', 'StatSignController@edit')->name('statSign.edit');

	$router->post('/list/save', 'StatSignController@save')->name('statSign.save');

    $router->delete('/list/{id}', 'StatSignController@del')->name('statSign.del');

    $router->get('/moduleTypeList', 'StatSignController@moduletypeList')->name('statSign.moduleTypeList');
	
	$router->get('/moduleTypeList/create', 'StatSignController@editModuleType')->name('statSign.moduleTypeCreate');
	
	$router->get('/moduleTypeList/{id}/edit', 'StatSignController@editModuleType')->name('statSign.moduleTypeCreate');

	$router->post('/moduleTypeList/save', 'StatSignController@saveModuletype')->name('statSign.moduleTypeSave');

	$router->delete('/moduleTypeList/{id}', 'StatSignController@delModuleType')->name('statSign.delModuleTypeSave');
});
